<?php  /* QeePHP 模板缓存文件生成时间：2014-10-06 22:29:29  */ ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en-US" xmlns="http://www.w3.org/1999/xhtml" dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  <title>QeePHP 示例：URL伪静态</title>
<link rel='stylesheet' type='text/css' href='<?php echo(__PUBLIC__);?>/Css/common.css'>
</head>
<body>


    <div id="page">


        <div id="header" class="status4xx">
		<h1 id="logo"><a href="./" title="QeePHP"><img src="<?php echo(__PUBLIC__);?>/Image/logo.png" /></a>
		</h1>
		<!-- Navigation -->
		<div id="navigation">
			<ul>
			    <li><a class="active" href="./index.php"><span>首页</span></a></li>
				<li><a  href="<?php echo(__ROOT__);?>/../" title="返回"><span>返回</span></a></li>
			</ul>
		</div>
		<!-- end Navigation -->
		<div style="clear:both;height:10px;"></div>

        </div>

		<div id="content">
 <h2>QeePHP 示例之：URL路由</h2>
<div class="title">配置URL路由定义文件，设置简单路由和泛路由</div><br/>
<div class="result">当前URL：<br/><?php echo(__SELF__);?> <br/>路由到模块 <span style="color:red"><?php echo(MODULE_NAME);?></span> 的<span style="color:red"><?php echo(ACTION_NAME);?></span> 操作<br/>
	参数:<br/>
	<?php $i=1;?>
<?php if(is_array($arrGets)):foreach($arrGets as $key=>$value):?>

	<?php echo($key);?>=><?php echo($value);?><br/>
	
<?php $i++;?>
<?php endforeach;endif;?>
	</div>
	<div class="line"></div>
 <div class="title">路由配置</div>
	简单路由：<a href="<?php echo(__APP__);?>/category/1">/category/1</a><br/>
	泛路由1：<a href="<?php echo(__APP__);?>/blog/1">/blog/1</a><br/>
	泛路由2：<a href="<?php echo(__APP__);?>/blog/2008/2">/blog/2008/2</a><br/>

<div class="line"></div>
 <div class="title">示例源码</div><br/>
 <div class="li_title">配置文件Config.php</div><br/>
 <div class="code"><?php highlight_file( APP_PATH.'/App/Config/Config.php') ?></div><br>
 <div class="li_title">路由定义文件Router.php</div><br/>
 <div class="code"><?php highlight_file(APP_PATH.'/App/Config/Router.php') ?></div><br>
 <div class="li_title">控制器IndexControl类</div><br/>
 <div class="code"><?php highlight_file( APP_PATH.'/App/Class/Controller/IndexController.class.php') ?></div><br>
 <div class="li_title">控制器BlogControl类</div><br/>
 <div class="code"><?php highlight_file( APP_PATH.'/App/Class/Controller/BlogController.class.php') ?></div>

<br/>
      <div id="footer">


        <p>&copy; 2010-2099 <a href="http://qeephp.114.ms/" title="QeePHP 官方网站" target="_blank">QeePHP</a></p>

      </div>

    </div>
</body>
</html>